w#include <iostream.h>
wint main() {
w int x, y,
anarray[8][8];//declares
an array like a chessboard
w for(x=0;
x<8; x++) { // sets the element to
w for(y=0;
y<8; y++) { // zero; after the loop all
w anarray[x][y]=0;
// elements
== 0
w } }
w for(x=0;
x<8;x++) {
w for(y=0;
y<8; y++) { cout<<"anarray["<<x<<"]["<<y<<"]="<<anarray[x][y]<<"
";
w} }
wreturn 0;
w}